/**
 *                            License
 * THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS  
 * CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). 
 * THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW.  
 * ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR  
 * COPYRIGHT LAW IS PROHIBITED.
 * 
 * BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND  
 * AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE  
 * MAY BE CONSIDERED TO BE A CONTRACT,
 * THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED 
 * HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.
 * 
 */
package lineage.database.tables.bean;

import java.sql.Timestamp;

/**
 * 账号资料表相关的可重用类.
 * 
 * @version 2014年3月13日下午3:43:40
 * @author jrwz
 */
public final class L1Account {
    /** 账号名称. */
    private String accountName;
    /** 密码. */
    private String password;
    /** 已创角色总数量. */
    private int charCount;
    /** 首次注册日期. */
    private Timestamp registerDate;
    /** 首次注册ip. */
    private String registerIP;
    /** 最后登入日期. */
    private Timestamp lastDate;
    /** 最后登入ip. */
    private String lastIP;

    /**
     * 取得账号名称.
     * 
     * @return 账号名称
     */
    public String getAccountName() {
        return accountName;
    }

    /**
     * 设置账号名称.
     * 
     * @param accountName
     *            - 要设置的账号名称
     */
    public void setAccountName(final String accountName) {
        this.accountName = accountName;
    }

    /**
     * 取得密码.
     * 
     * @return 密码
     */
    public String getPassword() {
        return password;
    }

    /**
     * 设置密码.
     * 
     * @param password
     *            - 密码
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * 取得首次注册日期.
     * 
     * @return 首次注册日期
     */
    public Timestamp getRegisterDate() {
        return registerDate;
    }

    /**
     * 设置首次注册日期.
     * 
     * @param registerDate
     *            - 要设置的日期
     */
    public void setRegisterDate(Timestamp registerDate) {
        this.registerDate = registerDate;
    }

    /**
     * 取得首次注册ip.
     * 
     * @return 首次注册ip
     */
    public String getRegisterIP() {
        return registerIP;
    }

    /**
     * 设置首次注册ip.
     * 
     * @param registerIP
     *            - 要设置的ip地址
     */
    public void setRegisterIP(String registerIP) {
        this.registerIP = registerIP;
    }

    /**
     * 取得最后登入日期.
     * 
     * @return 最后登入日期
     */
    public Timestamp getLastDate() {
        return lastDate;
    }

    /**
     * 设置最后登入日期.
     * 
     * @param lastDate
     *            - 要设置的日期
     */
    public void setLastDate(Timestamp lastDate) {
        this.lastDate = lastDate;
    }

    /**
     * 取得最后登入ip.
     * 
     * @return 最后登入ip
     */
    public String getLastIP() {
        return lastIP;
    }

    /**
     * 设置最后登入ip.
     * 
     * @param lastIP
     *            - 要设置的ip地址
     */
    public void setLastIP(String lastIP) {
        this.lastIP = lastIP;
    }

    /**
     * 取得已创角色总数量.
     * 
     * @return 已创角色总数量
     */
    public int getCharCount() {
        return charCount;
    }

    /**
     * 设置已创角色总数量.
     * 
     * @param charCount
     *            - 要设置的总数量
     */
    public void setCharCount(int charCount) {
        this.charCount = charCount;
    }
}
